package gulimall.ware.service;

import com.baomidou.mybatisplus.extension.service.IService;
import gulimall.utils.PageUtils;
import gulimall.ware.entity.WareSkuEntity;
import gulimall.ware.vo.HasStockVo;

import java.util.List;
import java.util.Map;

/**
 * 商品库存
 *
 * @author HLF
 * @email 1132814637@qq.com
 * @date 2022-05-11 16:14:49
 */
public interface WareSkuService extends IService<WareSkuEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void addStock(WareSkuEntity wareSkuEntity);

    List<HasStockVo> hasStockBySkuIds(List<Long> skuIds);
}

